/* 侧边栏样式 */
.user-info {
    display: flex;
    align-items: center;
    padding: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--ion-color-light-shade);
}

.user-avatar {
    width: 60px;
    height: 60px;
    margin-right: 16px;
}

.user-details {
    flex: 1;
}

.user-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ion-color-dark);
}

.user-email {
    margin: 4px 0 0;
    font-size: 0.85rem;
    color: var(--ion-color-medium);
}

.user-stats {
    display: flex;
    margin-top: 8px;
}

.stat-item {
    display: flex;
    align-items: center;
    margin-right: 16px;
    font-size: 0.9rem;
    color: var(--ion-color-medium);
}

.stat-item ion-icon {
    margin-right: 4px;
}

.menu-list {
    background: transparent;
    margin-bottom: 16px;
}

.menu-item {
    --padding-start: 16px;
    --padding-end: 16px;
    --min-height: 48px;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: background-color 0.3s ease;
}

.menu-item:hover {
    background-color: var(--ion-color-light);
}

.menu-icon {
    color: var(--ion-color-primary);
    font-size: 1.2rem;
}

.theme-toggle {
    --padding-start: 16px;
    --padding-end: 16px;
    --min-height: 48px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.logout-button {
    --padding-start: 16px;
    --padding-end: 16px;
    --min-height: 48px;
    border-radius: 8px;
    --background: var(--ion-color-light);
    color: var(--ion-color-danger);
}

.logout-button .menu-icon {
    color: var(--ion-color-danger);
}

.app-info {
    --padding-start: 16px;
    --padding-end: 16px;
    --min-height: 48px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.sidebar-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
}

/* 深色主题 */
.dark-theme .user-info {
    border-bottom: 1px solid var(--ion-color-step-200);
}

.dark-theme .menu-item:hover {
    background-color: var(--ion-color-step-50);
}

.dark-theme .logout-button {
    --background: var(--ion-color-step-50);
}

.dark-theme .user-name {
    color: var(--ion-color-light);
}

.dark-theme .user-email {
    color: var(--ion-color-medium);
}

.dark-theme .stat-item {
    color: var(--ion-color-medium);
}